﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VoiceAI.VoiceResponse
{
    public enum IOTType
    {
            Switch,//开关
            Light,//灯
            Aircondition,//空调
            Curtain,//窗帘
            Outlet,//插座
            Television,//电视
            Fan,//风扇
            Airpurifier,//空气净化器
            Ircontroller,//红外控制器
            Bridge,//网桥
            Ventilation,//新风
            Sweepingrobot,//扫地机器人
            Humidifier,//加湿器
            Fridge,//冰箱
            Robot,//机器人
            Washmachine,//洗衣机
            Waterdispenser,//饮水机
            Waterheater,//热水器
            Cooker,//电饭煲
            Stb,//机顶盒
            Projector,//投影仪
            Winecabinet,//酒柜
            Door,//门锁
            Dehumidifier,//除湿机
            Remoteccontrol,//遥控器
            Camera,//摄像头
            Scene,//场景
            Unknow,//未知
    }

    public interface IIOTGroup
    {
        string GroupName { get; }
        string GroupID { get; }
    }

    public interface IIOTDevice
    {
        string DeviceIcon { get; }
        string DeviceRemarkName { get; }
        string GroupID { get; }
        IOTType Type { get; }

    }

    public interface IIOTResponseData: IResponseData
    {
        IReadOnlyDictionary<string, IIOTGroup> IOTGroups { get; }
        IReadOnlyList<IIOTDevice> IOTDevices { get; }
    }
}
